home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 2: CDPD 1 / Almathera Ten on Ten - Disc 2: CDPD 1.iso / pd / 576-600 / 581 / neuro / installlibs next >
AmigaDOS Script File  |  1995-03-15  |  1KB  |  30 lines

  1. .key loop
  2. echo "This script will install req library, after checking to see if"
  3. echo "you already have it.  If so, it will check the version numbers"
  4. echo "of the installed one, and the one in this directory, and give"
  5. echo "you the option of installing the one found here."
  6. echo ""
  7. ask "Do you wish to continue with the installation of req.library? [y/n]"
  8. if WARN
  9.         if not EXISTS libs:req.library
  10.                 echo "No existing library, installing libs:req.library..."
  11.                 copy libs/req.library libs:req.library
  12.         else
  13.                 echo "Examine the version numbers of each library."
  14.                 echo ""
  15.                 version libs:req.library
  16.                 version libs/req.library
  17.                 echo ""
  18.                 ask "Do you wish to overwrite libs:req.library? [y/n]"
  19.                 if WARN
  20.                         echo "Updating libs:req.library..."
  21.                         copy libs/req.library libs:req.library
  22.                 else
  23.                         echo "libs:req.library unchanged..."
  24.                 endif
  25.         endif
  26. endif
  27.  
  28. echo "All Done.  Click close gadget to get rid of window."
  29. endcli
  30.